package mysql

import "gorm.io/gorm"

type Doctor struct {
	gorm.Model
	HeadImage string  `gorm:"type:varchar(500);not null"`
	Name      string  `gorm:"type:varchar(30);not null"`
	Tel       string  `gorm:"type:varchar(11);not null"`
	Ke        string  `gorm:"type:varchar(30);not null"`
	Price     float64 `gorm:"type:decimal(10,2);not null"`
}

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(11);not null"`
	Password string `gorm:"type:varchar(32);not null"`
}
